class Robot {
	private:
		int fd;
		
		void sendCmd ( char cmd[] );
	public:
		Robot();
		int  getDistance(void);
		void setSpeed( int speed_);
		void rotate( int rotationSpeed);
		// :servo(0) = open, :servo(1) = close
		void servo ( int close );
		void servoOpen(void);
		void servoClose(void);
		void stop();
		void destroy();
};
